﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net;
using System.IO;


namespace TeamWork_Client
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            
            
            //Application.Run(new Form1("127.0.0.1"));

            if (File.Exists("Launcher.exe")) { File.Delete("Launcher.exe"); MessageBox.Show("The old launcher has been deleted. Stay tunned for more info!"); }
                Application.Run(new Connect());
        }
    }
}
